package com.tanhua.dubbo.api.mongo;

import com.tanhua.domain.mongo.UserLike;
import com.tanhua.vo.PageResult;

import java.util.List;

public interface UserLikeApi {
    void save(Long userId, Long likeUserId);

    boolean exists(Long userId, Long likeUserId);

    Integer queryLoveCounts(Long userId);

    Integer queryFanCounts(Long userId);



    PageResult queryContacts(Long userId, Integer page, Integer pagesize);

    PageResult queryToLike(Long userId, Integer page, Integer pagesize);




    boolean findLike(Long userId, Long deleteId);



    void deleteLike(Long userId, Long deleteId);



    boolean queryLike(Long userId, Long likeUserId1);
}
